package com.mtnz.njk.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.List;

/**
 * @Description: 商品规格活动类型实体类
 * @Author: FBL
 * @CreateDate: 2019\7\12 0012 9:04
 * @Version: 1.0
 */
@Data
@Table(name = "product_active_type")
public class ProductActiveTypeEntity {
    /*
        activeTypeId
        1 2 3 4 5
        买？送？   送代金券    买十送二   换购     免运费  赠品
     */

    @Id
    @Column(name = "active_type_id")
    private Integer activeTypeId;
    @Column(name = "active_type_name")
    private String activeTypeName;


    // 阈值
    private List<ProductActiveThresholdEntity> productActiveThresholdEntities;

}
